function isObject(obj) {
  const type = typeof obj;
  return type === "function" || (type === "object" && !!type);
}

module.exports = isObject;
